package backend.service;

import java.util.List;

import backend.model.User;

public interface UserService {

	User getUserById(int id) throws ServiceException;

	void insertUser(User user) throws ServiceException;

	void updateUser(User user) throws ServiceException;

	void deleteUser(Integer id) throws ServiceException;

	List<User> viewAllUsers() throws ServiceException;
	
	String getUserPassword(Integer id) throws ServiceException;

}
